import { createApp } from "vue";
import App from "./App.vue";
// 让所有浏览器初始化的样式统一，并不是清除所有的margin padding之类的
import "normalize.css";
// 再导入自己的公共样式
import "./assets/styles/common.less";
import router from "./router";

import XtxUI from "./components";
// import XtxSkeleton from './components/skeleton/index.vue'
// app.component('XtxSkeleton',XtxSkeleton)

// vue插件机制、Vue.use原理/app.use原理 => install
import { createPinia } from "pinia";
const app = createApp(App);
app.use(XtxUI);
app.use(router);
app.use(createPinia());
app.mount("#app");
